package zzs.generalframework.console.core.user.userattence.dao;

import java.util.List;

import zzs.generalframework.common.core.user.userattence.UserAttenceInfo;
import zzs.generalframework.common.core.user.userattence.UserAttencePO;

/**
 * @title
 * @description
 * @project zzs-console
 * @package zzs.generalframework.console.core.user.userattence.dao
 * @author zzs
 * @date 2018年2月2日
 * @version 1.0
 */
public interface IUserAttenceDao
{
	/**
	 * 创建用户考勤信息
	 * 
	 * @param userAttencePO
	 * @return
	 */
	public boolean insert(UserAttencePO userAttencePO);

	/**
	 * 更新用户考勤信息
	 *
	 * @param userAttencePO
	 * @return
	 */
	public boolean update(UserAttencePO userAttencePO);

	/**
	 * 查询用户考勤信息
	 *
	 * @param userAttenceInfo
	 * @return
	 */
	public List<UserAttencePO> select(UserAttenceInfo userAttenceInfo);

	/**
	 * 删除用户考勤信息
	 *
	 * @param userAttencePO
	 * @return
	 */
	public boolean delete(UserAttencePO userAttencePO);

	/**
	 * 统计用户考勤信息
	 * 
	 * @param userAttencePO
	 * @return
	 */
	public Long count(UserAttencePO userAttencePO);

}
